import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
  input: 'http://localhost:8081/v3/api-docs',
  output: {
    path: 'apps/web-antd/src/api/openapi',
    format: 'prettier',
    lint: 'eslint',
    clean: true,
    indexFile: true,
  },
  plugins: [
    {
      name: '@hey-api/client-axios',
    },
  ],
});
